UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All GIDs referenced in the /etc/passwd file must be defined in the /etc/group file.


Overview

Finding ID Version Rule ID IA Controls Severity
V-781 GEN000380 SV-63319r1_rule ECSC-1 Low
Description
If a user is assigned the GID of a group not existing on the system, and a group with the GID is subsequently created, the user may have unintended rights to the group.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-06-05

Details

Check Text ( C-52029r1_chk )
Perform the following to ensure there are no GIDs referenced in /etc/passwd not defined in /etc/group:
# pwck -r
If GIDs referenced in /etc/passwd are not defined in /etc/group are returned, this is a finding.
Fix Text (F-53915r1_fix)
Add a group to the system for each GID referenced without a corresponding group.